package cranim.crparsing;

import java.math.BigInteger;

/**
 *
 * @author Benedikt
 */
public class CRParse {
    
    private String temp;
    
    private String time;
    private ParsePlayer attacker;
    private ParsePlayer defender;
    private int winner;
    private BigInteger attlost;
    private BigInteger deflost;
    private BigInteger dfmet;
    private BigInteger dfkris;
    private BigInteger lootmet;
    private BigInteger lootkris;
    private BigInteger lootdeut;
    
    
    public void setTemp(String text){
        temp = text;
    }
    
    public String getTemp(){
        return temp;
    }
    
    public void setAttacker(ParsePlayer attacker){
        this.attacker = attacker;
    }    
    
    public ParsePlayer getAttacker(){
        return attacker;
    }  
    
    public void setDefender(ParsePlayer defender){
        this.defender = defender;
    }
    
    public ParsePlayer getDefender(){
        return defender;
    }  
    
    public void setTime(String time){
        this.time = time;
    }
    
    public void setMSE(BigInteger attlost, BigInteger deflost, BigInteger dfmet, BigInteger dfkris){
        this.attlost = attlost;
        this.deflost = deflost;
        this.dfmet = dfmet;
        this.dfkris = dfkris;
    }
    
    public void setLoot(BigInteger lootmet, BigInteger lootkris, BigInteger lootdeut){
        this.lootmet = lootmet;
        this.lootkris = lootkris;
        this.lootdeut = lootdeut;
    }
    
    public void setWinner(int winner){
        this.winner = winner;
    }
}
